package cfsmon;

import java.io.IOException;

import cfsmon.core.CompilerRun;
import cfsmon.core.Configurator;
import cfsmon.ui.console.ConsoleInput;

public class Main {

	public static void main(String[] args) {
		try {
			
			Configurator config = new CompilerRun();
			ConsoleInput.parseCommandLine(args, config);
			
			if (!config.isAborted()){
				config.runCompiler();	
			}
		} catch (IOException e) {
			e.printStackTrace();
		}
		
	}
	
}
